set(EDITOR_SRCS LightTool.cpp DoorTool.cpp 
    DoorItem.cpp 
    CreateTool.cpp
    CutTool.cpp
    EditWidget.cpp
    MoveTool.cpp
    Tool.cpp
    LightTool.cpp
)

set(EDITOR_HS
    CreateTool.h
    CutTool.h
    EditWidget.h
    MoveTool.h
    Tool.h
    DoorTool.h
    LightTool.h
)

qt4_wrap_cpp(EDITOR_MOC_CPP ${EDITOR_HS})
add_library(Editor ${EDITOR_SRCS} ${EDITOR_MOC_CPP})
